<template>
    <main class="flex-center">
        <div>
            <h1>404 Not Found</h1>
            <p>该页面不存在</p>
            <router-link class="btn-primary" :to="{ name: 'Home' }">前往首页</router-link>
            <p><a class="btn-link" @click="$router.back()">返回上一页</a></p>
        </div>
    </main>
</template>

<style lang="less" scoped>
    main {
        border: none;
        text-align: left;
        div {
            padding-right: 20vw;
            h1 {
                font-size: 40px;
            }
            p {
                font-size: 18px;
                margin: 10px 0 20px;
                a {
                    font-size: 16px;
                    font-weight: bold;
                }
            }
        }
    }
</style>